package 力扣.tets;

public class test {
    public static void main(String[] args){
        function2(1,2);
    }
    public  static void function2(int a,int aa){
        a = a^aa;
        aa = a^aa;
        a = aa^a;
        System.out.println(a+" ,"+ aa);
    }
    public static int function1(int[] arr){
        for (int b:arr) {
            arr[0] = arr[0]^b;
        }
        return arr[0];
    }
}
